package com.lqw.sys.platform.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by luqiwen on 2017/6/5.
 */
@Controller
@RequestMapping("/platform")
public class IndexController {

    private static final Logger logger= LoggerFactory.getLogger(IndexController.class);

    @RequestMapping(value = "/index",method = {RequestMethod.GET,RequestMethod.POST})
    public String index(){
        System.out.println("首页");
        return "index";
    }


}
